package com.gitee.wsl.ext.string


fun String.insert(pos: Int, insert: String): String {
    var s = ""
    if (pos > 0) {
        s += substring(0 until pos)
    }
    s += insert
    if (pos < length) {
        s += substring(pos)
    }
    return s
}

